<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <script src="js/script3.js"></script>
    <script src="js/script4.js"></script> -->
</head>
<body>
<!-- <div onclick="fNum(20,15)">点击</div>
<script>
function fNum(num1,num2){
    alert(num1+num2);
}
</script> -->

<div id="main">11111</div>
<script>
// var main=document.getElementById('main');
// main.addEventListener('click',function(){
//     alert(1);
// },false)
window.addEventListener('load',function(){
    alert('san');
},false)
window.addEventListener('load',function(){
    alert('si');
},false)
</script>

</body>
</html>